package com.xbk.seckill.common.model.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 秒杀订单状态
 *
 * @author xiexu
 * @date 2025/1/10 21:50
 */
@AllArgsConstructor
@Getter
public enum SeckillOrderStatus {

    /**
     * 订单已创建
     */
    CREATED(1),

    /**
     * 订单已支付
     */
    PAID(2),

    /**
     * 订单已取消
     */
    CANCELED(0),

    /**
     * 订单已删除
     */
    DELETED(-1);

    private final Integer code;

}
